package com.cssl.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName tb_member
 */
@TableName(value ="tb_member")
@Data
public class TbMember implements Serializable {
    /**
     * 会员id主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 密码
     */
    @TableField(value = "password")
    private String password;

    /**
     * 昵称
     */
    @TableField(value = "nickname")
    private String nickname;

    /**
     * 手机号
     */
    @TableField(value = "tel")
    private String tel;

    /**
     * 邮箱
     */
    @TableField(value = "email")
    private String email;

    /**
     * 性别
     */
    @TableField(value = "sex")
    private String sex;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 头像
     */
    @TableField(value = "file")
    private String file;

    /**
     * 个性签名
     */
    @TableField(value = "description")
    private String description;

    /**
     * 会员积分
     */
    @TableField(value = "integral")
    private Integer integral;

    /**
     * 可用状态
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    /**
     * 修改时间
     */
    @TableField(value = "updated")
    private Date updated;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}